package thermologic.core;

/**
 * Allow listen for events or errors on
 * Adapters
 * 
 * @author Mauricio
 */
public interface AdapterListener
{
    /**
     * invoked when event ocurred 
     * @param event
     */
    public void onEvent(AdapterEvent event);
    
    /**
     * invoked when error ocurred
     * @param ae
     */
    public void onError(AdapterException ae);
}
